inelastic collision physics problems